You can host:
Make your own code acadamy type of courses.
Spend a few dollars to spin up a server with 32 cores and 192 GB of ram for a few hours for complex data analysis.
Washington Post Python data munging + R modeling + Plumber API = Live election predictions
Washington Post Python data munging + R modeling + Plumber API = Live election predictions
Digital Ocean
AWS (or whatever your news org uses)
More specific instructions here
$ sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
$ sudo apt update
$ sudo apt install r-base
More specific instructions here
Create/Organize your folders through the command line
Copy a local file to your server:
$ scp depends.R remote_username@10.10.0.2:/remote/directory $ Rscript depends.R
Shiny server
Rstudio cloud
Brewing and drinking beer
FROM rocker/shiny
## The directory
WORKDIR /srv/shiny-server
COPY depends.R /srv/shiny-server/
RUN Rscript depends.R
docker build -t docker_sample_project .
Last line in my dockerfile:
EXPOSE 3838
In the command line:
docker-compose down && docker-compose rm && docker-compose up --force-recreate --build